package com.edu.base.common.utils;

import java.util.List;
/**
 *    构建机构基础类
     * @ClassName: TreeNode
     * @Description: TODO(这里用一句话描述这个类的作用)
     * @author lzs
     * @date 2020年8月17日
     *
 */
public class TreeNode {

	private String code;
	private String notetype;
	private String pcode;
	private String name;
	private String id;
	private List<TreeNode> children;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getNotetype() {
		return notetype;
	}

	public void setNotetype(String notetype) {
		this.notetype = notetype;
	}

	public String getPcode() {
		return pcode;
	}

	public void setPcode(String pcode) {
		this.pcode = pcode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<TreeNode> getChildren() {
		return children;
	}

	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}

	public TreeNode(String code, String notetype, String pcode, String name, String id, List<TreeNode> children) {
		super();
		this.code = code;
		this.notetype = notetype;
		this.pcode = pcode;
		this.name = name;
		this.id = id;
		this.children = children;
	}

	public TreeNode() {
		super();
		// TODO Auto-generated constructor stub
	}

}
